#include <49func.h>
void sigFunc(int signum){
    printf("signum = %d\n", signum);
}
int main()
{
    //signal(SIGINT,sigFunc);
    alarm(10);
    signal(SIGALRM,sigFunc);
    pause();//pause会在信号递送完成的时候恢复就绪
    return 0;
}

